package com.ddwl.schema.bo.message;

import com.ddwl.schema.model.Location;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;

/**
 * @author Fu Zhaohui
 */
@Setter
@Getter
public class InformerBo {

    /**
     * 主键ID
     */
    @NotNull(message = "帮互ID为空")
    private String sosId;

    /**
     * 用户ID
     */
    @ApiModelProperty(hidden = true)
    private String userId;
    /**
     * 定位信息
     */
    @NotNull(message = "请打开定位")
    private Location loc;
    /**
     * 上传图片
     */
    @NotNull(message = "请上传一张图片")
    private String pic;

}